package com.mipo.singleton.otherlittleuse.staticblock;

/**
 * thread test class
 * @author kitty
 */
public class AaMain extends Thread{
	
	@Override
	public void run() { 
		for (int i = 0; i < 5; i++) {
			System.out.println(MySingleton.getInstance().hashCode());
		}
	}
	public static void main(String[] args) { 
		AaMain[] mts = new AaMain[3];
		for(int i = 0 ; i < mts.length ; i++){
			mts[i] = new AaMain();
		}
		for (int j = 0; j < mts.length; j++) {
			mts[j].start();
		}
	}
}



